<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ taglib tagdir='/WEB-INF/tags' prefix='sc'%>
<html>
<head>
<title>Nạp Tiền</title>
</head>
<body>
	<form action="registeredAccount" name="customerVO" method="POST">
		<div class="list-view">
			<div class="pr-head">
				<span class="pr-detail-name">Mobile Cart</span>
			</div>
			<div class="pr-detail">
				<div class="pr-profile-left">
					<div class="pr-profile-menu height690">
						<a class="pr-profile-menu-item edit"><i></i> Nạp Cart</a>
					</div>
				</div>
				<div class="pr-profile-right right-content-large">
					
					<div id="" class="pr-profile-page">
						<c:if test="${successMessage != null}">
							<span style="color: blue;">${successMessage}</span>
						</c:if>
						<span class="pr-text separator"> 
						<span class="title-s-text"><span>Số dư tài khoản</span></span>
						<span class="title-text">Tài khoản hiện có: </span> 
						<span id="btn_deposit" class="field-text">${customerVO.pointCart} VNĐ</span>
						
						<span class="pr-text separator"> <span class="title-s-text">
						<span>Tài khoản nhận</span></span> 
						<span class="title-text">Email:</span> 
						<span class="field-text">${customerVO.email}</span>
						<span class="title-text">Số điện thoại:</span>
						<span class="field-text">${customerVO.phone}</span>
						<span class="title-text">Ngày sinh:</span> 
						<span class="field-text">${customerVO.birthday}</span> 
						<span class="title-text">Địa chỉ:</span> 
						<span class="field-text">${customerVO.address}</span> 
						<span class="title-text">Quốc tịch::</span> 
						<span class="field-text">${customerVO.country}</span>
						<span class="title-text">Giới tính:</span> 
						<span class="field-text">
							<c:choose>
								<c:when test="${customerVO.gender == 'male'}">Nam</c:when>
								<c:otherwise>Nữ</c:otherwise>
							</c:choose>
						</span> 
						
						
						
						
<!-- 						<span class="pr-text separator">  -->
<!-- 						<span class="title-s-text"><span>Nạp card</span></span> -->
						<!-- <span class="title-text">Loại thẻ <span style="color: red;">*</span>:</span>  -->
<!-- 						<div id="nganLuongId" style="margin-top: 5px;"> -->
<!-- 							<div class="column-viettel left"> -->
<!-- 								<div class="viettel-logo"></div> -->
<!-- 								<div class="check-box-popup"><input type="radio" class="" name="nganluong" value="1" /></div> -->
<!-- 							</div> -->
<!-- 							<div class="column-vinaphone left"> -->
<!-- 								<div class="vinaphone-logo"></div> -->
<!-- 								<div class="check-box-popup"><input type="radio" class="" name="nganluong" value="2" /></div> -->
<!-- 							</div> -->
<!-- 							<div class="column-mobifone left"> -->
<!-- 								<div class="mobifone-logo"></div> -->
<!-- 								<div class="check-box-popup"><input type="radio" class="" name="nganluong" value="3" /></div> -->
<!-- 							</div> -->
<!-- 						</div> -->
						
<!-- 						<span class="title-text">Mã số thẻ <span style="color: red;">*</span>:</span>  -->
<!-- 							<input type="text" id="cardCode"> -->
						
<!-- 						<span class="title-text">Số seri thẻ <span style="color: red;">*</span>:</span>  -->
<!-- 							<input type="text" id="seriCardNumber">  -->
						
						</span> 
						
					</div>
	
				</div>
			</div>
		</div>
	</form>
<script language="javascript">
var nlURL = '${nganluongURL}';
var mc_flow = new NGANLUONGB.apps.MCFlow({trigger:'btn_deposit',url: nlURL});

if(nlURL != '')
document.getElementById("btn_deposit").click();
</script>
</body>
</html>